package com.ztomorrow.ying_cun_plus.service;

import com.ztomorrow.ying_cun_plus.dto.req.BookSearchReqDto;
import com.ztomorrow.ying_cun_plus.dto.resp.BookInfoRespDto;
import com.ztomorrow.ying_cun_plus.dto.resp.PageRespDto;
import com.ztomorrow.ying_cun_plus.dto.resp.RestResp;

import java.io.IOException;

public interface SearchService {
    RestResp<PageRespDto<BookInfoRespDto>> searchBooks(BookSearchReqDto condition) throws IOException;
}
